﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace LightingPlatform.ViewModel
{
    public class BusinessContext
    {
        private static readonly BusinessContext _singleton = new BusinessContext();

        public static BusinessContext Singleton
        {
            get
            {
                return _singleton;
            }
        }

        private BusinessContext()
        {
        }

        public string WebServiceUrl { get; set; }
        public User User { get; set; }

        private Stack<object> _queryParameters;

        public Stack<object> QueryParameters
        {
            get
            {
                if (_queryParameters == null)
                    _queryParameters = new Stack<object>();
                return _queryParameters;
            }
        }
    }


}
